GeminiLabs\SiteReviews\Helpers\Str S

Total Complexity 44
Dependencies 3
Dependents 61
Total lines 312
Lines of code 157
Logical lines of code 79
Comment lines 109
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
restrictTo()
S
62 3 11
convertName()
S
54 2 21
prefix()
S
65 3 9
startsWith()
S
64 3 9
endsWith()
S
64 3 9
fallback()
S
72 3 5
replaceLast()
S
67 3 7
replaceFirst()
S
64 3 10
contains()
S
64 3 9
removePrefix()
S
72 2 5
suffix()
S
71 2 6
snakeCase()
S
65 2 8
truncate()
S
71 2 5
join()
S
72 2 5
random()
S
73 1 4
naturalJoin()
S
70 1 5
dashCase()
S
78 1 3
convertToInitials()
S
64 1 9
convertPathToName()
S
69 1 6
convertPathToId()
S
77 1 3
titleCase()
S
73 1 4
camelCase()
S
73 1 4